//
//  FSCHud.h
//  FriendSchoolContacts
//
//  Created by 陈无忌 on 4/3/15.
//  Copyright (c) 2015 whalefin.Giab. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <MBProgressHUD/MBProgressHUD.h>

typedef void (^CompletionBlock)(void);

@interface FSCTint : NSObject

+ (void)hudShowWithString:(NSString *)msg;

+ (void)hudShowWithString:(NSString *)msg withDetailText:(NSString *)detailText;

+ (void)hudShowWithString:(NSString *)msg withCompletion:(CompletionBlock)completionBlock;

+ (MBProgressHUD*)showUIBlockingIndicator;

+ (MBProgressHUD*)showUIBlockingIndicatorWithText:(NSString*)str;

+ (MBProgressHUD*)showUIBlockingIndicatorWithText:(NSString*)str withTimeout:(int)seconds;

+ (MBProgressHUD*)showUIBlockingProgressIndicatorWithText:(NSString*)str andProgress:(float)progress;

+ (MBProgressHUD*)showAlertWithTitle:(NSString*)titleText text:(NSString*)text;

+ (MBProgressHUD*)showTimedAlertWithTitle:(NSString*)titleText text:(NSString*)text withTimeout:(int)seconds;

+ (MBProgressHUD*)showAlertWithTitle:(NSString*)titleText text:(NSString*)text target:(id)t action:(SEL)sel;


+ (void)hideUIBlockingIndicator;

+ (void)alertViewShow:(NSString *)msg;

@end
